package com.ying.tests.mongo.dao;

import com.ying.tests.mongo.entity.Student;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface StudentDao extends MongoRepository<Student, Long> {

    List<Student> findByName(String name);
}
